package com.dog.basics.bean.dto.api.mtkj;

import cn.hutool.core.collection.CollUtil;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 订单退款表
 * </p>
 *
 * @author wph
 * @since 2020-05-29
 */
@Data
public class ApiOrderRefundEditDto {




    /**
     * 订单ID
     */
    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID", dataType = "String",required = true)
    private Long orderId;

    /**
     * 审核状态: 0-待支付  1-已支付  2-申请退款中 3-退款拒绝 4-退款完成 5-已关闭 6:待发货  7待收货 8完成
     */
    @NotNull(message = "审核状态 3-退款拒绝 4-同意 不能为空")
    @ApiModelProperty(value = "审核状态 3-退款拒绝 4-同意 不能为空", dataType = "Integer",required = true)
    @Min(value = 3, message = "审核状态只能是:( 3-退款拒绝 4-同意)")
    @Max(value = 4, message = "审核状态只能是:(3-退款拒绝 4-同意)")
    private Integer refundStatus;


}
